package com.amigo.online.provider.user.mongo.dao;

import com.amigo.online.provider.user.mongo.entity.GroupEntity;
import com.amigo.online.provider.user.mongo.entity.MyUserEntity;
import com.amigo.online.provider.user.mongo.entity.UserEntity;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author
 * @version 1.0
 * @className UserRepository
 * @description
 * @date 2019/4/8 17:46
 **/
@Repository
public interface UserRepository extends MongoRepository<MyUserEntity, Long> {
    @Override
    List<MyUserEntity> findAll();
}
